<div class="<?php echo $this->parameters['css_prefix']?>menu">
<?php 
    foreach(($this->result) as $result){
        echo "<a style ='display:block' href='www.test.com/id/".$result['id']."'>".$result['name'].'</a>';
}
?>
</div>